Skip to content

Conversation

@glitch003
Copy link
Collaborator

Supports the boolean "module" true or false so we can use module imports, supported here: https://github.com/LIT-Protocol/lit-assets/pull/1749

@glitch003 glitch003 requested a review from Ansonhkg as a code owner March 28, 2025 16:15
@glitch003 glitch003 marked this pull request as draft March 28, 2025 16:16
/**
* Whether or not the the action is a js "module" with import statements
*/
module?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the boolean type is less informative and explicit, maybe we can use a string literal type instead? eg.

module?: 'esm' | 'cjs'

@Ansonhkg
Copy link
Collaborator

Closing this for now @glitch003

@Ansonhkg Ansonhkg closed this Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants